package fr.aprr.geoloc.shared.dto;

import java.io.Serializable;
import java.util.List;

public class TypeVehiDto extends BaseDto implements Serializable {

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	

	private List<BaseDto> children;

	  protected TypeVehiDto() {

	  }

	  public TypeVehiDto(Integer id, String name) {
	    super(id, name);
	  }

	  public List<BaseDto> getChildren() {
	    return children;
	  }

	  public void setChildren(List<BaseDto> children) {
	    this.children = children;
	  }

	  public void addChild(BaseDto child) {
	    getChildren().add(child);
	  }

}
